import { request } from '@/utils/requestUtil'

export function fetchAllCategory() {
	return request({
		method: 'GET',
		url: '/category/all'
	})
}

export function fetchCategoryProduct(params) {
	return request({
		method: 'GET',
		url: '/category/product',
		params:params
	})
}